home *** CD-ROM | disk | FTP | other *** search
- 10 '---------Scramble.Bas------------
- 20 'A Primitive Encryption Program
- 30 'Use Unscram.Bas to restore the
- 40 'encrypted file.
- 50 '------------------------------
- 60 INPUT "What is the name of the file to be scrambled";N$
- 70 INPUT "What will be the new name for the scrambled file";O$
- 80 OPEN "i",1,N$
- 90 OPEN "o",2,O$
- 100 IF EOF(1) THEN 130
- 110 PRINT#2,CHR$(ASC(INPUT$(1,#1))+128);
- 120 GOTO 100
- 130 CLOSE #1,#2: NAME N$ AS "killfile":KILL "killfile"
- 140 PRINT
- 150 END
- 160 'SYSTEM